//
//  Taizi.m
//  XXSingleton
//
//  Created by h92 on 14/12/12.
//  Copyright (c) 2014年 李腾飞. All rights reserved.
//

#import "Taizi.h"

@implementation Taizi
static Taizi *yandan=nil;
int a=0;
+(Taizi*)shareManage
{
    if (!yandan) {
        yandan=[[Taizi alloc]init];
        a++;
        NSLog(@"太子数量%i",a);
    }else{
        NSLog(@"太子数量%i",a);
    }
    return yandan;
}

@end
